Book Contents

About system alarms and time tags

The following tag contains the time and date when the status of alarms was last reset. The date uses the long date format.

Tag name

Type

Description

system\AlarmResetDateAndTimeString

String

Read-only.

Contains the date and time of the last alarm reset.

At run time, date and time information stored in this tag is shown in the language of the run-time Windows operating system and in the format specified by the Regional or Regional and Language options in the Windows Control Panel.

These system tags record time and date information in various formats.

Tag names

Types

Descriptions

system\Date

String

Read-only.

System date. At run time, date and time information stored in this tag is shown in the format specified by the Regional or Regional and Language options in the Windows Control Panel.

system\DateAndTimeInteger

Analog

Read-only.

Number of seconds elapsed since midnight (00:00:00) January 1, 1970, coordinated universal time (UTC).

system\DateAndTimeString

String

Read-only.

Complete date and time display. For example: Monday, December 12 2001 10:47:50 AM.

system\DayOfMonth

Analog

Read-only.

Day of the month (1 - 31).

system\DayOfWeek

Analog

Read-only.

Day of the week (1-7); Sunday = 1.

system\DayOfYear

Analog

Read-only.

Day of the year (1-366).

system\Hour

Analog

Read/write.

Hour of the day (0-23).

system\Minute

Analog

Read/write.

Minutes (0 - 59).

system\Month

Analog

Read-only.

Number for month (1-12).

system\MonthString

String

Read-only.

Name of the month. At run time, date and time information stored in this tag is shown in the format specified by the Regional or Regional and Language options in the Windows Control Panel.

system\Second

Analog

Read/write.

Seconds (0 - 59).

system\Time

String

Read-only.

System time. At run time, date and time information stored in this tag is shown in the format specified by the Regional or Regional and Language options in the Windows Control Panel.

system\Year

Analog

Read-only.

The year (1980-2099). At run time, date and time information stored in this tag is shown in the format specified by the Regional or Regional and Language options in the Windows Control Panel.

The changes to Windows regional settings are not reflected in the system\AlarmResetDateAndTimeString, system\Date, system\Time, system\DateAndTimeString, and system\MonthString tags. The format used is defined by the operating system and cannot be changed.

See also

About system tags

About system graphics and user tags

About HMI tag types